package cn.b.sky.form.dao;

import cn.b.sky.form.model.Section;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SectionDao {

  void insertSection(Section section);

  void updateSection(Section section);

  Section getSectionBySectionCode(@Param("siteCode") String siteCode, @Param("screenCode") String screenCode,
                                  @Param("sectionCode") String sectionCode);
  
  List<Section> selectSectionByscreenCode(@Param("siteCode") String siteCode, @Param("screenCode") String screenCode);
  
  void deleteSectionByScreenCode(@Param("siteCode") String siteCode, @Param("screenCode") String screenCode,
                                 @Param("sectionCode") String sectionCode);

}
